Amazon.CognitoSync.SyncManager.Internal.DatasetUtils.GetIdentityId C# (CSharp) Метод

GetIdentityId() публичный статический Метод

A helper function to get the identity id of the dataset from credentials provider. If the identity id is null, UNKNOWN_IDENTITY_ID will be returned.
public static GetIdentityId ( CognitoAWSCredentials credentials ) : string
credentials Amazon.CognitoIdentity.CognitoAWSCredentials The Cognito Credentials.
Результат string
        public static string GetIdentityId(CognitoAWSCredentials credentials)
        {
            return string.IsNullOrEmpty(credentials.GetCachedIdentityId())
                ? UNKNOWN_IDENTITY_ID
                    : credentials.GetCachedIdentityId();
        }