Class User
User information See: https://docs.atlassian.com/confluence/REST/latest
Inheritance
Implements
Inherited Members
Namespace: Dapplo.Confluence.Entities
Assembly: Dapplo.Confluence.dll
Syntax
[JsonObject]
public class User : IUserIdentifier
Properties
| Improve this Doc View SourceAccountId
Interface which allows us to have an account ID or username to work with.
Declaration
[JsonProperty("accountId")]
public string AccountId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AccountType
The account type of the user, may return empty string if unavailable. Valid values: atlassian, app (if this user is a bot user created on behalf of an Atlassian app)
Declaration
[JsonProperty("accountType", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string AccountType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
The name which is displayed in the UI, usually "firstname lastname"
Declaration
[JsonProperty("displayName", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
The email address of the user. Depending on the user's privacy setting, this may return an empty string.
Declaration
[JsonProperty("email", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PersonalSpace
The personal space for the user
Declaration
[JsonProperty("personalSpace", DefaultValueHandling = DefaultValueHandling.Ignore)]
public Space PersonalSpace { get; set; }
Property Value
Type | Description |
---|---|
Space |
ProfilePicture
Information on the profile picture
Declaration
[JsonProperty("profilePicture", DefaultValueHandling = DefaultValueHandling.Ignore)]
public Picture ProfilePicture { get; set; }
Property Value
Type | Description |
---|---|
Picture |
PublicName
The public name or nickname of the user.Will always contain a value.
Declaration
[JsonProperty("publicName", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string PublicName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TimeZone
The timezone of the user
Declaration
[JsonProperty("timeZone", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Valid values: known, unknown, anonymous, user
Declaration
[JsonProperty("type", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserKey
For Confluence Cloud: This property is no longer available and will be removed from the documentation soon. Use accountId instead.
Declaration
[JsonProperty("userKey", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string UserKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Username
For Confluence Cloud: This property is no longer available and will be removed from the documentation soon. Use accountId instead.
Declaration
[JsonProperty("username", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |