> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.UserInfo

# <a id="SuperOffice_WebApi_Data_UserInfo" /> Class UserInfo

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for UserInfo.

```csharp theme={null}
public class UserInfo : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[UserInfo](SuperOffice.WebApi.Data.UserInfo.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Examples

Get UserInfo 123 using the WebApi client:
<pre><code class="lang-csharp">var configuration = new WebApiConfiguration(url);
var agent = new UserAgent(configuration);
var userInfo = agent.GetUserInfo( 123 );</code></pre>

## Constructors

### <a id="SuperOffice_WebApi_Data_UserInfo__ctor" /> UserInfo()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public UserInfo()
```

## Properties

### <a id="SuperOffice_WebApi_Data_UserInfo_CanLogon" /> CanLogon

```csharp theme={null}
public virtual bool CanLogon { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_UserInfo_Deleted" /> Deleted

If true, the user is retired and should have no rights, not appear in lists, etc.

```csharp theme={null}
public virtual bool Deleted { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_UserInfo_EjUserId" /> EjUserId

ID of the ej user record corresponding to this associate; 0 for associates that are not ej users

```csharp theme={null}
public virtual int EjUserId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_UserInfo_GrantedLicenses" /> GrantedLicenses

```csharp theme={null}
public virtual string[] GrantedLicenses { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[]

### <a id="SuperOffice_WebApi_Data_UserInfo_PersonId" /> PersonId

Owning person record

```csharp theme={null}
public virtual int PersonId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_UserInfo_Rank" /> Rank

Rank order

```csharp theme={null}
public virtual short Rank { get; set; }
```

#### Property Value

[short](https://learn.microsoft.com/dotnet/api/system.int16)

### <a id="SuperOffice_WebApi_Data_UserInfo_RoleName" /> RoleName

```csharp theme={null}
public virtual string RoleName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UserInfo_RoleTooltip" /> RoleTooltip

```csharp theme={null}
public virtual string RoleTooltip { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UserInfo_Tooltip" /> Tooltip

Tooltip or other description

```csharp theme={null}
public virtual string Tooltip { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UserInfo_UserGroupId" /> UserGroupId

Primary group membership, see UserGroupLink for secondary memberships

```csharp theme={null}
public virtual int UserGroupId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_UserInfo_UserGroupName" /> UserGroupName

```csharp theme={null}
public virtual string UserGroupName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UserInfo_UserGroupTooltip" /> UserGroupTooltip

```csharp theme={null}
public virtual string UserGroupTooltip { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UserInfo_UserInfoId" /> UserInfoId

Primary key

```csharp theme={null}
public virtual int UserInfoId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_UserInfo_UserName" /> UserName

Initials, also login name, possibly database user name

```csharp theme={null}
public virtual string UserName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UserInfo_UserType" /> UserType

NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public UserType? UserType { get; set; }
```

#### Property Value

[UserType](SuperOffice.WebApi.Data.UserType.md)?

#### See Also

[UserInfo](SuperOffice.WebApi.Data.UserInfo.md).[UserType\_String](SuperOffice.WebApi.Data.UserInfo.md#SuperOffice_WebApi_Data_UserInfo_UserType_String)

### <a id="SuperOffice_WebApi_Data_UserInfo_UserType_String" /> UserType\_String

Raw string enum value.

```csharp theme={null}
[JsonProperty("UserType")]
public string UserType_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[UserInfo](SuperOffice.WebApi.Data.UserInfo.md).[UserType](SuperOffice.WebApi.Data.UserInfo.md#SuperOffice_WebApi_Data_UserInfo_UserType)

## See Also

[UserAgent](SuperOffice.WebApi.Agents.UserAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.PersonEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.PersonEntity.md)
- [SuperOffice.WebApi.Agents.UserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.UserAgent.md)
- [SuperOffice.WebApi.Agents.IUserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IUserAgent.md)
- [SuperOffice.WebApi.Data.User ResolveUserFromInfoRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.User_ResolveUserFromInfoRequest.md)
- [SuperOffice.WebApi.Data.UserDefinedFieldInfo](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserDefinedFieldInfo.md)
- [SuperOffice.WebApi.Data.User SetExternalUserInfoRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.User_SetExternalUserInfoRequest.md)
