Click or drag to resize

UserProfileServicegetUserInfo Method

Gets the Person information for a user.

Namespace:  (Default Namespace)
Assembly:  SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntax
public Person getUserInfo(
	string authKey,
	bool includeSpouseInfo,
	bool includeStudents
)

Parameters

authKey
Type: SystemString
Authentication Key obtained from the loginExt method in UserManagementService
includeSpouseInfo
Type: SystemBoolean
If set to True, then the returned Person structure will include spouse information.
includeStudents
Type: SystemBoolean
If set to True, then the returned Person structure will include the Person's students' (children) information.

Return Value

Type: Person
A Person object.
Exceptions
ExceptionCondition
ApplicationExceptionInvalid authorization key
Remarks
Use this routine for obtaining information on a currently logged in user. The Person object returned contains information for the user attached to the Authorization Key.
See Also