Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineIdentity
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineIdentityInterface.h |
| Include | #include "Interfaces/OnlineIdentityInterface.h" |
void GetUserPrivilege
(
const FUniqueNetId & LocalUserId,
EUserPrivileges::Type Privilege,
const FOnGetUserPrivilegeCompleteDelegate & Delegate,
EShowPrivilegeResolveUI ShowResolveUI
)
Remarks
Gets the status of a user's privilege.
Parameters
| Name | Description |
|---|---|
| LocalUserId | the unique id of the user to query |
| Privilege | the privilege you want to know about |
| Delegate | delegate to execute when the async task completes |
| ShowResolveUI | whether to show UI to resolve if user don't have the privilege |