Package com.independentsoft.graph.files
Class Identity
java.lang.Object
com.independentsoft.graph.files.Identity
Represents an identity of an actor in Microsoft Graph.
An Identity describes a single actor – such as a user, device, or application –
that is associated with an action or resource. Identities are typically returned as part of
an IdentitySet, for example to indicate who created or last modified a drive item.
Example usage:
Identity user = identitySet.getUser();
if (user != null)
{
System.out.println(user.getDisplayName());
System.out.println(user.getId());
}
- Since:
- 1.0
- See Also:
- identity resource type,
IdentitySet