Users.getUserInfo (Method)
Returns a structure containing information about the current user. Most of this information is CommonSpot-related. The Users.getProfile() method returns additional information.
Returns:
Users_GetUserInfo_Result (struct)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
canAdminSite | Boolean | A Boolean flag which when true indicates that the user is a site administrator for the current site. |
canAdminUsersGroups | Boolean | A Boolean flag which when true indicates that the user can administer users and groups. |
canCreatePages | Boolean | A Boolean flag which when true indicates that the user can create pages in one or more subsites within the current site. |
canCreatePageSets | Boolean | A Boolean flag which when true indicates that the user can create page sets in one or more subsites within the current site. |
canCreatePlaylists | Boolean | A Boolean flag which when true indicates that the user can create multimedia playlists to one or more subsites within the current site. |
canCreateTemplates | Boolean | A Boolean flag which when true indicates that the user can create templates in one or more subsites within the current site. |
canRegisterExternalURLs | Boolean | A Boolean flag which when true indicates that the user can register external URLs in one or more subsites within the current site. |
canUploadDocuments | Boolean | A Boolean flag which when true indicates that the user can upload documents to one or more subsites within the current site. |
canUploadImages | Boolean | A Boolean flag which when true indicates that the user can upload images to one or more subsites within the current site. |
canUploadMultimedia | Boolean | A Boolean flag which when true indicates that the user can upload multimedia files to one or more subsites within the current site. |
ID | UserID | The user's ID. |
Name | Person_FirstNameMiddleNameLastName | The user's full name. |
UserID | UserName | The user's login name. |
Context:
License Requirements | None |
Permission Requirements | Authenticated |
Deny Context | None |
Require Context | None |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | Customization is not supported for this method. |
Error Codes:
None
Notes:
None