Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Queries for properties of the authenticated identity.
HRESULT GetIdentityPropertyByName(
IN PassportIdentityHandle hIdentity,
IN LPWSTR wszPropertyName,
OUT LPWSTR *pwszPropertyValue
);
Parameters
hIdentity
The identity handle for which to get the property value.
wszPropertyName
The name of the property. The following table describes the property names for which you can get a value.
Property |
Description |
|---|---|
PPCRL_PROPERTY_FEDERATIONBRANDNAME |
Brand name of a federated identity. |
PPCRL_CREDPROPERTY_ISDOMAINUSER |
Indicates the windows user is also a federated user. |
Return Values
The following table describes the return values for this method.
Return Code |
Description |
|---|---|
S_OK |
The identity property was successfully retrieved. |
S_FALSE |
No value for the property was found. |
Remarks
These properties, except member name, are populated by the logon service and may not be set by the client application.