get User External Identity
suspend fun getUserExternalIdentity(argument: GetUserExternalIdentityPlainArgs): GetUserExternalIdentityResult
Use this data source to retrieve a specific organization member's SAML or SCIM user attributes.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.GithubFunctions;
import com.pulumi.github.inputs.GetUserExternalIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleUser = GithubFunctions.getUserExternalIdentity(GetUserExternalIdentityArgs.builder()
.username("example-user")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getUserExternalIdentity.
Parameters
argument
A collection of arguments for invoking getUserExternalIdentity.
Return
A collection of values returned by getUserExternalIdentity.
Parameters
username
The username of the member to fetch external identity for.
See also
suspend fun getUserExternalIdentity(argument: suspend GetUserExternalIdentityPlainArgsBuilder.() -> Unit): GetUserExternalIdentityResult
Return
A collection of values returned by getUserExternalIdentity.
Parameters
argument
Builder for com.pulumi.github.kotlin.inputs.GetUserExternalIdentityPlainArgs.