Click or drag to resize

IUserManagementGetUserByKey Method

Get information about a user. Can be called by an admin about anyone or by a user about themself

Namespace:  Panopto.Server.Services.PublicAPI.V40
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
User GetUserByKey(
	AuthenticationInfo auth,
	string userKey
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
userKey
Type: SystemString
The userKey to look up

Return Value

Type: User
Information about the specified user. Null if no such user
See Also