SdkUnknown

Inherited functions

Link copied to clipboard

Casts this SubscriptionPrincipal as a Group and retrieves its kotlin.String value. Throws an exception if the SubscriptionPrincipal is not a Group.

Link copied to clipboard

Casts this SubscriptionPrincipal as a Group and retrieves its kotlin.String value. Returns null if the SubscriptionPrincipal is not a Group.

Link copied to clipboard
fun asUser(): String

Casts this SubscriptionPrincipal as a User and retrieves its kotlin.String value. Throws an exception if the SubscriptionPrincipal is not a User.

Link copied to clipboard

Casts this SubscriptionPrincipal as a User and retrieves its kotlin.String value. Returns null if the SubscriptionPrincipal is not a User.